#ifndef RAYLEIGH_GROUNDLAYER_H
#define RAYLEIGH_GROUNDLAYER_H

#include "rayleigh_atmosphere.h"

class RayleighGroundLayer : public RayleighAtmosphere
{
    Q_OBJECT
public:
    explicit RayleighGroundLayer(QString layerName,
				 double hBottom,
				 double hTop,
				 QObject *parent = 0);

signals:
	void groundScatUp(QByteArray lightData);

private slots:
	void recvDownIrridance();
	void groundScatResponse();

public:
	void setGroundAlbedo(double albedo);
private:
	double m_groundAlbedo;
	double getCurrentGroundAlbedo();

};

#endif // RAYLEIGH_GROUNDLAYER_H
